setSharedElementTargets

abstract fun setSharedElementTargets(@NonNull transitionObj: Any, @NonNull nonExistentView: View, @NonNull sharedViews: ArrayList<View>)(source)

Finds all children of the shared elements and sets the wrapping TransitionSet targets to point to those. It also limits transitions that have no targets to the specific shared elements. This allows developers to target child views of the shared elements specifically, but this doesn't happen by default.